﻿using System.Collections.Generic;
using UcAsp.Net.IDAL;
using UcAsp.Net.Model;
namespace UcAsp.Net.BLL
{
    public class CommentsBLL
    {
        private static readonly ICommentsDAL dal = DALFactory.DataAccess.CreateComments();
        public List<Comments> Select(int artid, int pageindex, int pagesize, out int pagecount)
        {
            return dal.Select(artid, pageindex, pagesize, out pagecount);
        }
        public Comments GetCommentsByID(int id)
        {
            return dal.GetCommentsByID(id);
        }
    }
}